package com.example.base

import android.app.Application
import com.alibaba.android.arouter.facade.Postcard
import com.alibaba.android.arouter.launcher.ARouter
import com.tencent.mmkv.MMKV

open class BaseApplication:Application() {
    override fun onCreate() {
        if(BuildConfig.DEBUG){
            ARouter.openLog()
            ARouter.openDebug()
        }
        ARouter.init(this)
        MMKV.initialize(this)

        super.onCreate()
    }

    override fun onLowMemory() {
        super.onLowMemory()
    }
}